package com.ctshk.rpc.finance.dto.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 往来明细查询Dto
 */
@Data
@ApiModel(value = "BillCheckDetailListDTO",description = "往来明细查询Dto")
public class BillCheckDetailListDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "1 收款 2 退款")
    private Integer billType;

    @ApiModelProperty(value = "所属对账ID")
    private Long checkId;

    @ApiModelProperty(value = "对账单号")
    private String checkNumber;

    @ApiModelProperty(value = "对账单审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "付款方式")
    private String payWay;

    @ApiModelProperty(value = "金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "所属收退单ID")
    private Long billId;

    @ApiModelProperty(value = "收退单号")
    private String billNumber;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "产品编号/团号")
    private String productNumber;

    @ApiModelProperty(value = "销售订单ID")
    private Long saleOrderId;

    @ApiModelProperty(value = "资源信息")
    private String resourceInfo;

    @ApiModelProperty(value = "销售人员ID")
    private Long saleUserId;

    @ApiModelProperty(value = "销售人员名称")
    private String saleUserName;

    @ApiModelProperty(value = "销售人员部门")
    private String saleDept;

    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime collectionTime;

    @ApiModelProperty(value = "销账状态 0 未销账 1 已销账")
    private Integer offAccountStatus;

}
